{{ define "main" }}
    {{ $paginator := .Paginate .Data.Pages.ByDate.Reverse }}
    {{ range $paginator.Pages }}
        {{ if not .Params.hide }}
           {{ .Render "summary" }}
        {{ end }}
    {{ end }}

{{ template "_internal/pagination.html" . }}
{{ end }}
